﻿using GeneralTool.CoreLibrary.Attributes;
using GeneralTool.CoreLibrary.TaskLib;

namespace WindowsFormsApp1
{
    [Route(nameof(TestTask) + "/", "测试类")]
    public class TestTask : BaseTaskInvoke
    {
        [Route(nameof(Test), "测试方法")]
        public void Test()
        {

        }

        [Route(nameof(GetStr), "获取字符串")]
        public string GetStr([WaterMark("字符串 ")] string str)
        {
            return "hi=>" + str;
        }
    }
}
